<!DOCTYPE html>
<html>
   <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>租客服务</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="./css/sm.min.css">
    <link rel="stylesheet" href="./css/sm-extend.min.css">
   <link href="../css/flickerplate.css"  type="text/css" rel="stylesheet">
   <link href="./css/zukeFuwuList.css" rel="stylesheet">
   <script src="../js/jquery-2.1.1.js"></script>
   <script src="../js/min/modernizr-custom-v2.7.1.min.js" type="text/javascript"></script>
   <script src="../js/min/hammer-v2.0.3.min.js" type="text/javascript"></script>
   <script src="../js/min/flickerplate.min.js" type="text/javascript"></script>
   <script src="./js/home.js"></script>
     <script src="./js/zepto.js"></script>
     <script src="./js/zukeFuWuList.js"></script>
<script src="./js/sm.js" ></script>
<script src="../js/common.js"></script>
<script src="./js/sm-extend.js" ></script>
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script src="js/pointlog.js"></script>
  </head>
  
  <body>
	  <header class="bar bar-nav">
<!-- 	    <a class="button button-link button-nav pull-left" href="javaScript:history.go(-1)" data-transition='slide-out'> -->
<!-- 	      <span class="icon icon-left"></span> -->
<!-- 	      返回 -->
<!-- 	    </a> -->
	    <h1 class="title">租客服务</h1>
	  </header>
<!--     <nav class="bar bar-tab"> -->
<!--     <a class="tab-item "  onclick="toLink('home.html',this)"> -->
<!--       <span class="icon icon-home"></span> -->
<!--       <span class="tab-label">首页</span> -->
<!--     </a> -->
<!--     <a class="tab-item"  onclick="toLink('liaojieLanJu.html',this)"  > -->
<!--       <span class="icon icon-card"></span> -->
<!--       <span class="tab-label">了解蓝居</span> -->
<!--     </a> -->
<!--     <a class="tab-item active"  onclick="toLink('zukeFuwuList.html',this)"> -->
<!--       <span class="icon icon-menu"></span> -->
<!--       <span class="tab-label">租客服务</span> -->
<!--     </a> -->
<!--     <a class="tab-item" onclick="toLink('yezhuFuWuList.html',this)"> -->
<!--       <span class="icon icon-friends"></span> -->
<!--       <span class="tab-label">业主服务</span> -->
<!--     </a> -->
<!--   </nav> -->
  <div class="content">
  <div style="background: #fff;">
		<div class="toubu" style="background:#FFCC33">
			<div style="height: 100%;">
				<a style="padding: 20px;"><img src="../images/touxiang.png" style="margin-top: 20px;width: 66px;height: 64px;border-radius: 100px;" id="headimg"/></a>
<!-- 				<a style="color: #fff;"></a> -->
				<a style="color: #fff;position: absolute;margin-top: 35px;font-size: 13px;"><span id="phone"></span><br><span id="nickName" style="font-weight: 5"></span></a>
			<a class="top-btn" id="toguanjia">管家端</a>
			</div> 
    	</div>
    </div>
  <div class="list-block">
    <ul>
      <li class="item-content item-link" onclick="toLink('zukeDaiban.html')">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/zukeFuwu/daiban.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner">
          <div class="item-title">我的待办</div>
        </div>
      </li>
      <li class="item-content item-link" onclick="toLink('myGuanjia.html?agreementType=0&status=1')">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/zukeFuwu/guanjia.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner">
          <div class="item-title">我的管家</div>
        </div>
      </li>
      <li class="item-content item-link" onclick="toLink('zukeKongjian.html')">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/zukeFuwu/kongjian.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner">
          <div class="item-title">我的空间</div>
        </div>
      </li>
     <!--  <li class="item-content item-link" >
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/zukeFuwu/yuuyue.png" style="width: 25px;height: 25px"></div>
        <div class="item-inner">
          <div class="item-title">保洁预约</div>
        </div>
      </li> -->
      <li class="item-content item-link" onclick="toLink('service/serviceList.html?serviceType=1')">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/zukeFuwu/chaxun.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner">
          <div class="item-title">服务预约/查询</div>
        </div>
      </li>
      <li class="item-content item-link" onclick="toLink('zukeService/suggest.html')">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/zukeFuwu/tousu.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner">
          <div class="item-title">投诉提交</div>
        </div>
      </li>
      <li class="item-content item-link" onclick="toLink('zukeService/recommend.html')">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/zukeFuwu/jieshao.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner">
          <div class="item-title">介绍新租客</div>
        </div>
      </li>
    </ul>
  </div>
</div>
<jsp:include page="./footer.jsp"></jsp:include>
<script type="text/javascript">
window.$$=window.Zepto = Zepto;
var cookie=unescape(document.cookie);
var storage=window.localStorage;
getUserInfo();
function toLink(txt,tagrt) {
	var flag=storage.getItem("flag");
	if(flag!="0"){
		$$.toast("抱歉，您不是租客，不能操作此功能");
		return false;
	}
	document.location.href = "./" + txt;
}

function  getUserInfo(){
	var flag="";
	if(storage.getItem("flag")==0) flag="租客";
	if(storage.getItem("flag")==1) flag="房东";
	if(storage.getItem("flag")==2) flag="管家";
	$("#nickName").text(storage.getItem("nickName")+"("+flag+")");
	$("#phone").text(storage.getItem("phone"));
	$("#headimg").attr("src",storage.getItem("headimg"));
}
$("#butler").click(function(){
	 window.location.href = "../jsp/login.html";
})

$("#toguanjia").click(function(){
	 window.location.href = "../jsp/GuanJiaList.html";
})
var args=ponitLog.getWindowsParam();
console.log(args);
</script>
  </body>
</html>

